package com.laf.manage.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.laf.common.annotation.Excel;
import com.laf.common.core.domain.BaseEntity;

/**
 * 标签对象 tb_tag
 *
 * @author zian
 * @date 2024-11-09
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tb_tag")
@ApiModel(value = "Tag", description = "标签实体")
public class Tag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("主键")
    private Long id;

    /** 标签名 */
    @Excel(name = "标签名")
    @ApiModelProperty("标签名")
    private String tagName;

    /** 颜色 */
    @Excel(name = "颜色")
    @ApiModelProperty("颜色")
    private String color;

}
